﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using smartphone.App_Code;

namespace smartphone.UserControls
{
    public partial class ContactForm : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void BtPostContact_Click(object sender, EventArgs e)
        {
            string from = TxtEmail.Text;
            string to = ESmartConfig.ErrorLogEmail;
            string title = TxtTitle.Text;
            string msg = TextBoxContact.Text;

            Utilities.SendMail(from, to, title, msg);
        }

    }
}